Skip to content

gh-125895: Render 404 page correctly on docs.python.org#147984

Merged
StanFromIreland merged 1 commit intopython:mainfrom
StanFromIreland:render-404-correctly
Apr 3, 2026
Merged

gh-125895: Render 404 page correctly on docs.python.org#147984
StanFromIreland merged 1 commit intopython:mainfrom
StanFromIreland:render-404-correctly

Conversation

@StanFromIreland
Copy link
Copy Markdown
Member

@StanFromIreland StanFromIreland commented Apr 1, 2026

With python/psf-salt#637, nginx will serve the per-version 404.html page. However, it will render without styling/JS since sphinx-notfound-page defaults to referencing static assets under /en/latest/, this fixes that.


📚 Documentation preview 📚: https://cpython-previews--147984.org.readthedocs.build/

@StanFromIreland StanFromIreland merged commit 80ab6d9 into python:main Apr 3, 2026
39 checks passed
@StanFromIreland StanFromIreland deleted the render-404-correctly branch April 3, 2026 15:19
@StanFromIreland StanFromIreland added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Apr 3, 2026
@miss-islington-app
Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link
Copy Markdown

Thanks @StanFromIreland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 3, 2026
…pythonGH-147984)

(cherry picked from commit 80ab6d9)

Co-authored-by: Stan Ulbrych <stan@python.org>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 3, 2026
…pythonGH-147984)

(cherry picked from commit 80ab6d9)

Co-authored-by: Stan Ulbrych <stan@python.org>
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented Apr 3, 2026

GH-148040 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Apr 3, 2026
@bedevere-app
Copy link
Copy Markdown

bedevere-app bot commented Apr 3, 2026

GH-148041 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 3, 2026
@StanFromIreland
Copy link
Copy Markdown
Member Author

The 404 page is colourful now:-)

image

StanFromIreland added a commit that referenced this pull request Apr 3, 2026
GH-147984) (#148040)

(cherry picked from commit 80ab6d9)

Co-authored-by: Stan Ulbrych <stan@python.org>
StanFromIreland added a commit that referenced this pull request Apr 3, 2026
GH-147984) (#148041)

(cherry picked from commit 80ab6d9)

Co-authored-by: Stan Ulbrych <stan@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants